package com.solution.exception;

/**
 * This exceptions captures the unpredictable exceptions.
 * @author Piyush.Mittal
 *
 */
public class GenericException extends Exception {

	/**
	 * Serial Version for persistence.
	 */
	private static final long serialVersionUID = 844614039169598166L;

	/**
	 * Constructor <code>GenericException</code>
	 * 
	 */
	public GenericException() {
		super();
	}

	/**
	 * Constructor <code>GenericException</code>
	 * @param message
	 */
	public GenericException(String message) {
		super(message);
	}

	/**
	 * Constructor <code>GenericException</code>
	 * @param cause
	 */
	public GenericException(Throwable cause) {
		super(cause);
	}

	/**
	 * Constructor <code>GenericException</code>
	 * @param message
	 * @param cause
	 */
	public GenericException(String message, Throwable cause) {
		super(message, cause);
	}

}
